const  { ADD_COUNT, CHANGE_NAME  } = require('./constants')

const changeNameAction = (name) => ({ type: CHANGE_NAME, name })
const addCountAction = (num) => ({ type: ADD_COUNT, num })

module.exports = {
  changeNameAction,
  addCountAction
}